package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
public class AdminCarouselEditCommand {

    @NotNull(message = "id必传")
    private Long id;

    @NotEmpty(message = "标题必填")
    private String title;

    @NotEmpty(message = "请上传图片")
    private String imgKey;

    private Integer sort = 0;

    private String link;

    private Integer isShow;

    private Integer type;

}
